finish check for win