attempted fix of typos for issue #332