Fixed routes and dropped debugging code line