add panel before create