fix the null value of LastIncrInt bug