fix layout routes