fix page model and widget setting