fixed loading exception when no map file