fixed double declaration of virtual destructors

fixed double declaration of virtual destructors