remove base relative path