updated to position the map-flag  properly