fix typos in gtype. ref #42