fixed show/hidden at buttonDelete