set fallback TERM in a cleaner way