F ix on new loop.php

double $i++; at line 31 and line 35