fix new__class dispatch