fix int to string bug