fix about treating float.