handle trailing slashes