Fix polymorphism bug