fixed searching, search tab moved to separate file