fix error production.js