revert float bug fix