API usage fix in meshdiff