fixing config.js error