config variables case bug fixed.