replace strlower and strlen drupal functions to newer functions
changed ->path['pathauto'] to ->path->pathauto