solving problem with map container