improving error page and fixing search page layout