       $(evt.target).closest('.question_mapping_answer .option-key-field .item').remove();
 
     @$elm.on 'click', '.append', (evt)=>
-      hidden_item_count = @get_hidden_item_count
+      hidden_item_count = @get_hidden_item_count()
       if hidden_item_count == 1
-        @hidden_item_remove_class
+        @hidden_item_remove_class()
       else
         last_mapping_input_name = @get_last_mapping_input().attr('name')
         last_mapping_input_index = @regular(@num_filter,last_mapping_input_name)

      @add_new_atr_in_blank(new_atr_in_blank)

    @$elm.on 'click', '.delete',(evt)=>
      answer_input_count = @get_answer_input_count
      if answer_input_count == 1
        @make_hidden_answer_when_answer_is_one($(evt.target))
      $(evt.target).closest(".answer").remove()

    @$elm.on 'submit', 'form', =>
      answer_which_is_not_hidden_count = @get_answer_which_is_not_hidden_count
      if answer_which_is_not_hidden_count > 0
        @remove_answer_which_is_not_hidden()



  change_items_index_when_delete: (delete_position, current_item_count)->
    for x in [delete_position...current_item_count]
      @change_item_name_index(@$elm.find(".item").eq(x), x-1)

  regular: (filter, str)->
    regular_deal = new RegExp(filter)
    regular_deal.exec(str)
    
  add_hidden_item_by_first_item: ()->
    @$elm.find('.question_mapping_answer .option-key-field .item:first' ).find('input').val("")
    copy = @$elm.find('.question_mapping_answer .option-key-field .item:first').clone()
