solved map problem