fix a bug in fv