fixed require to missing public config.json