nline nchar fix