adapt for lib rime Issue11