Removing unused line that references not exising variable.