Remove reference to deleted var