fixed get class by name