fix up text formatting