fixed settings bug in cmsearch