bug fix in text interaction