Fixed Crashing after last wave