int->string bug fixes