fix bug some times fail to detect change