fix float2int