Reset variables when it's required