fix bug and add text case from the README.md