Clean up core output