bugfix - class class is illegal