remove all trailing slashes