ref #77: fix sfv bugs