use rb_str_new_with_class instead of setting klass