Clean the control panel code