fix issue when the profile already has an id property