fixed minor issue in MessageQueueProcessor