fixed environment variable problems in fiteagledaemonwq