Fixing text formatting