fix setting environment production