fix subpartition select