fix problem with empty spouses