fixed map crash