debug true, fix routes