fixing \n @ EOF