small fix for conversions