Fix build list bug in searching view and list view