float parsing fix for issue #1