/**
  * Remoweve all elements of states from don't exists elements
  *
  * @param          int     /string        type        types ( e.g., extension_type_id )
  * @param    array $states states
  *
  * @since       1.0.0
  **/
 protected function _unsetNot($type, $states)
 {
     // Get type date
     $data = $this->_getData($type);
     reset($this->_not);
     while (($not = current($this->_not)) !== false) {
         // Get not Elements buffer from date
         $notBuffer = $data->get($not, array());
         if (!empty($dataNot)) {
             // unset elements from form cahce date
             $data->set($not, KextensionsArray::unsetKyes($notBuffer, $states));
         }
         next($this->_not);
     }
 }