added function to unset loaded player