fixing text formats