Bug fix on config.js