remove base path