leaving player fix