added map resize