--- a/phonetic.module	2013-01-21 18:04:06.000000000 +0530
+++ b/phonetic.module	2015-10-29 12:50:26.156284012 +0530
@@ -173,10 +173,12 @@
   $whitelist = variable_get('phonetic_whitelist', '');
   if (!is_array($whitelist)) {
     $whitelist = explode("\n", $whitelist);
+    $whitelist = array_map('strtolower', array_map('trim', $whitelist));
   }
 
   $char = variable_get('phonetic_replacement_char', '*');;
   $words = str_word_count(strip_tags($text), 2);
+  $words = array_map('strtolower', array_map('trim', $words));
 
   foreach ($words as $word) {
     $metaphone = metaphone($word);
