remove core and panel