avoid compiler warning on conversion