optimize core-list when clearing out the list