problem with delete cm_id