should convert null to empty categories