fixing delete button