updated fiber-utils.js