debug applyTreament in chain.each