avoid incompatible data and field types.