Remove unnecessary / from paths