troubleshoot env in .profile.