fix delete button hide issue