initial map glitch fix