document trigger, cleaning