fix time estimate bug on text change