remove unnecessary slash