Remove unnecessary wrapper in panel