Fixed format error + missing end of last line