Scanning errors and solutions