fix add_term action