 		if blocks == false or blocks.length == 0
 			return null
 
-		s = @__input0.selectionStart
-		e = @__input0.selectionEnd
+		s = @__input.selectionStart
+		e = @__input.selectionEnd
 
 		for block, idx in blocks
 			# CUI.debug match_start, match_end, match_str

		"cui-input-"+@getUniqueId()

	markBlock: (ev, bl) ->
		@__input0.setSelectionRange(bl.start, bl.end)
		@initCursor(ev)

	remove: ->

			if DOM.height(@__input) != previous_height
				changed = true

			# CUI.error "__setContentSize", @_textarea, @__input.value, @__contentSize.value, h
		else
			w = @__contentSize.scrollWidth
			if @__contentSize.value.length == 0
				# help IE out here, IE measures one " "
				w = 1
			else
