Panel class fix