Fixing a potential float issue