fix increment issue