fixed typos. fixes #1309