remove extra / in path