[kcm] add some useless protect code