Fix MQ scheduler