fixed class def.