fix trigger.listen script