correct groups to be able to remove views and layers