clear locals in invoke inner nodes