fix categories and masks not saving.