fix the require cache bug in config