fix for ios8 minfractiondigits bug