bugfix for floats