class element correction