Fixed a bug that would prevent the map from getting found in the global variables