newline bug fixed