bugfix

Didn't increment properly