fix bug: while $inc on a string, it comes out 10+1 = 101

fix bug: while $inc on a string, it comes out 10+1 = 101