fix bug in search page with progress bar