Remove extra text and divider line