Fixed a int/float bug.