correct parameter type at utf8::index