more feature extraction fixes