fixing issue on search page