changed delete to destory to fix project edit