fix for cm

Signed-off-by: coldnew <coldnew.tw@gmail.com>