fixed crashing player destroy