format some classes