remove hardcoded resource class in search_fiels