better format the partition text