fixing extra slash in path