Fixed a small bug (when lost a round, the program crashed)