changed to use mb_strtolower(.., utf8)