fixed float bug in new windows code