               @embedLinks?.linkList?.items?[0]?.setFavicon embedData.favicon_url
 
               @requestEmbedLock = off
-              @previousURL = firstUrl
+              @previousURL = firstUrl?[0]
+          else
+            @requestEmbedLock = off
         else
           @requestEmbedLock = off
       ,50


          @embedBox.embedLinks.setLinks firstUrl

          unless @previousURL is firstUrl
            @embedBox.embedUrl firstUrl?[0], {
              maxWidth: 525
            }, (embedData)=>


    # saves the URL of the previous request to avoid
    # multiple embed calls for one URL
    @previousURL = ""

    # prevents multiple calls to embed.ly functionality
    # at the same time
