fixed crash bug when lots of same type of messages are delivered to an object