modify some errors.