FIxed an error witht the map getter