fix map first rendering