Fixed bug where it would crash on victory