modify some errors