remove bugs in Minimap