fixed map and graph resize