delete debug the detele db function