ensured global vars don't carry values

between loops! this could have been disasterous! O__O