bug fixed: non-int type number will be regarded as syntax error