fixed a little stupid bug, where I could not reliably count from 0 to 9