Fixing float error