fix KeyError if less than 9 parties