fixed float convert bug