fixed env var code block