fix double-->float