fix loader.search for statistics