fix bugs in routes