better setting of map