small bug fix, vctory was not recognized in certain situation