fixes some typos and closes #86