Bugfix in routes