Fix cm code into kylin