Fix config file resource