getPartitioner fixed