fixed typos reported by Fergal