Modify the fetch.js to avoid error.