Fixed division float issue