better handling of errors in feature extraction
update feature extractor