AVR109 re-initializing instead of resetting vars