diff --git a/pdf.js b/pdf.js
index a62973ac3..931b2cd02 100644
--- a/pdf.js
+++ b/pdf.js
@@ -3418,7 +3418,8 @@ var Page = (function() {
           }
         } else if (annotation.has('Dest')) {
           // simple destination link
-          link.dest = annotation.get('Dest').name;
+          var dest = annotation.get('Dest');
+          link.dest = IsName(dest) ? dest.name : dest;
         }
         links.push(link);
       }