Fix error when guess search