delete an unused variable
update the frmt command