correcting scanning