remove / on the path