removes shutdown and internal representation clearage