fixed all remaining warnings about explicit conversions