fixed get_profile