add default sizes for map & reset map choice on ref change