treating reset variables