fixed player detaching