bug fixes related to victory conditions