fix for mapsize setting