mq handler modifyed