fixed typos before printing