Fix config require error