FIX: fix bug with mask and initializer_list