fix correct family IDs