Fix float bug