error handling. Prefs fix. Search in web