small fix in family handling