modify some apis