remove leading slash in pathes