fixing delete from manage datatypes