fix string append int error