Fix term command