fix var handling when the var content is "0"