method should be a native string

fix #29