fixed a bug on getfloat when not copying string to local memory