fix routing for frontend after rewrite active