fix env override problem