Reset variables in the right place