fix map render issue