fixed map problem