Fixed floating point error