fixed bug in mailbox recognizer