clearing map before redraw