check for empty office and official ids