fix api path error