fix env var and add minor version