further improved custom panel setting.