bugfix increment was in key() method instead of in the next() method