fixed config.js issue