Sometimes empty value is passed to lines, abort in such cases