refactoring
delete debug object