text repr bug fix