reset states when switching to or from lookup