fix search button and move out glottocode regex