clean up removeConstantFeature