fix serach pattern