by MegaChriz: removed calls to drupal_strtolower(), which is removed (as per change record #1992584).