Revert "debugging the map factory test error: trying a quick fix for the map factory error"

This reverts commit c77406db58e88c323029637e36236148ecd62537.