Fixed writeln()