Fix core.cleanup indentation