Fix issue when creating or deleting linked profile