fix slash redirecting