fix scanner