add principal view class back to reenable editing