Fixed commparing int to float bug
Fixed commparing int to float bug