fixed extra newline at end of copy paste