modify some function