core: fix some typos

fix #414