fixed class instancing