Fix check of winner