Fixed the counter (-1)