Revert "Bugfixed router.map and router.mapRoute"

This reverts commit f6d09ab31b41225bda7ea1d2c0ce5ddcc9a37803.