fix error on search block