review text() method and correct a small thing