fix env setup