bug fix loading search view before data.