fixed compile errors from latest changes
remove hardcoded term weight as field before posinfo. add ff instead