bugfix inside search to get the search work without any klogger mess