fixed process.env inheritance