remove unused core