removing extra unneeded slash from rewrite rules