fix sfs/dispatch.js