fixing some bugs and adding console report for every route when creating pages