Fix config variable setting