better error messages for ABC