Fix delete functionality. some cucumber work.