prevent minimap errors when no minimap is loaded