fixed a bug

Tables weren't being dropped when removing a feature.