replace any unassigned attributes