bugfix for config.js