Removing minor bugs in routes