fixes delete button