fixed get_profile call to Profile class