fix for no preview before search