fix exception when person has no party