solve conversion warnings