Fixing TERM environment variable