Fixed error in the findWin methods