dirty fix for check if all messages were received