fixed env setting