remove matching slashes by default