fix operand
env null check