fix api path.