fix in scan