fixed problem with getting first character of string in IE.
keeping up