map size fixing