get rid of abundant '\n'