fix family parsing problem