Bugfixes in simpleMapLogic