fixed exceptions for endless search