fix typos as suggested by Allen Hurlbert @ahhurlbert