fixed float issue