fix admin url rewrite