Export TERM. clean up