modify classes for doc advanced search and statistic