minor fixes
fix win condition checking