correcting typos found during runtime