updated to remove extra slash for redirects, should have gotten in initial commit