problem with final \n