fix env issue