fixed size bug for string->double