fixed bug in pumped.js