fix map resize