fixed map glitch