raise exception if distributions in index is not a list