Improve text formatting