fixing text formatting