Urgent fix, variables weren't nulled before reusing.