fixed inconsistent searchbar and inital load error