fix for delete button