take out extra \n