object delete button working now