Cleaning to gen family type