change scan.c