fix text raw api example