Cleaning up text format