fix attr_period_group