corrected management of profile id with '.'