fix line delim bug