make sure root paths dont havetwo slashes at the end