fix watch error with repo panel