     if tag_text != "" && not (tag_text in my_tags)
       my_tags.push(tag_text)
       Posts.update(id, {$set: {'my_tags': my_tags}})
-      Session.get("suggestions_#{ id }").remove(tag_text)
+      @suggestions?.remove(tag_text)
     #clear textbox and update suggestion filter
     text_box.value = ''
     Session.set("filter_text_#{ id }", '')

                suggested_tag, event.target)
          when 39 #Right-arrow: REMOVE SUGGESTED TAG
            if event.ctrlKey
              Session.get("suggestions_#{ @_id }").remove(suggested_tag)
              Session.get("context_#{ @_id }")?.invalidate()
          else    #Update filter with new text
            Session.set("filter_text_#{ @_id }", entered_text)

    return {suggested:false,tags:visible}
    
  suggested_tags: ->
    filtered = []
    if @suggestions?
      for tag in @suggestions
        filtered.push(tag) if tag? &&
          tag.search(Session.get("filter_text_#{ @_id }")) != -1
    return {suggested:true,tags:filtered}

  tagging_post: -> Session.equals("tagging_#{ @_id }", true)
