fixing env load issue