Fixed the bug

Was my fault forgot to increment a counter xD