fixed issue with parsing of float