Fix line/set items NoMethodError