bugfix in router