fixed incrementer bug