move getCheckBar code to CheckSearchPage