strip trailing slashes off urls