diff --git a/ds.module b/ds.module
index b4e4ee5..21ad3d1 100644
--- a/ds.module
+++ b/ds.module
@@ -803,7 +803,7 @@ function ds_field_formatter_info() {
  */
 function ds_field_formatter_view($entity_type, $entity, $field, $instance, $langcode, $items, $display) {
   $element = array();
-  $view_mode = str_replace('taxonomy_', '', $display['type']);
+  $view_mode = substr_replace('taxonomy_', '', $display['type'], 0, 9);
   foreach ($items as $delta => $item) {
     $build = taxonomy_term_view(taxonomy_term_load($item['tid']), $view_mode, $langcode);
     $element[$delta] = $build;
