change filter flag attrs to array