cleaning up the panels