delete needless \n