force lowercase before comparaison

closes: #2141