removing some trivial things in generate_feature.py