not showing winning message correctly