cast cofactor to field