Bug/search loading

fixed #253