removing the leading / from path