correct text formatting