>fix -main config.js

Some problems fixed