declare $error in ccut