bugfix in routes