correctly set profile link for cases where full path is given in get_company_details