searchImage fix compatibility