panel cleanup