fixing broken format text