fix ENV references