add search to error page