bugfix: parse the input value to a float explicitly