Routes initialization fix