Fixed when instantiate a widget