Adapt for librime Issue 11
Adapt for librime Issue 11