Fixing float issue