template watch bug