reset persistent state when encountering a reset