restored scoped views in the original state