fixed messageQueue compilation error