fix featuretype and featurens