fix a bug in feature