Fix class-type variable