Fixed: TERM environment variable not set.
Small fixes