correcting env var check