remove path lookup for api