The variable is still assigned to on line 133 which results in the creation of a global.  Its also referenced on line 135.