fixed string-integer bug