fixed up delete plan