frontend routing fix