fix partitioned data insert