coerce types