fixed cp_delete_block