fix bug with floating point weirdness