minor conversions fixes