panel delete button fix