remove leading / from paths