fix bug with config file require