Fixed broken delete