remove empty for loop and leaked i var

Was viewing the source and noticed this random doodle-:bug: