completed search page functionality error