fix api url tools