Fixed game crashing Bug