fix feature.py bug