setOptions if $env is array
fix #27. "0" character not evaluated