fixed messages_dequeued counter