featurevector bug fix