Ed cleanup