removing extra |n|'