remove wrong null-check in VariableReference implementation