remove terminal move