minor bug fix in jsaMF