Fixed the partition-table create