removing unused $i