fixed minimap bug