bugfix: winning conditions.