remove deprecated get_profile method