clearing rootcore