fix bug when the textview did change