added chat text check