fixed bug in feature digest