improved center of map