fixed issue on delete button