FIX TypeError: superclass mismatch for class Order