safer conversions