remove api path