added internal page search functionality with errors.