floating number bugfix