fixed typos (thanks to David Bertenshaw)