hopefully fixed the problem with victory/defeat