modify some APIs