fix issue with search callbacks