fix unit coerce