fixed error in float recognition