Fixed get_ap
fix coefficient_field... access coeffs safely