fixing the float issue