fix "local variable searcher is accessed from within inner class; needs to be declared final"