Fixing float format issue