fix checkAutoFill bug