fix receive mail bug