progress bar fix

progress bar would not reach 100% upon search completion