float bug fixed