fix watch error