kcore clean up