fix TERM