Fixed float convert bug