error stack doesnt mention when.js anymore