cleanup core directory finished