removing useless i counter