fix a float issue