Correct readonly bugs for widget.