remove trailing slashes in urls