Fixed integer/float bug