Fix bug that only increments the ones place