fix var == null