fix error in search page