fix in scanner