fix the empty mailbox case