fixed up search
added return 0 to progress bar