fixing issues with float formats