small change to suminloop.js