@RoySegall It looks like that function was written which is almost equivalent to "os_taxonomy_taxonomy_term_uri" which it looks like you wrote to handle this case.

I would use "os_taxonomy_taxonomy_term_uri" and change line 58 in os_taxonomy_taxonomy_term_uri

FROM
```php
$path['path'] = $options['path_prefix'] . drupal_get_path_alias($path['path']);
```
TO
```php
os_taxonomy_term_alias($path['path'],$options);
```