fix using incorrect env variables