terminal: remove unused variable