typos
fixing writing rows