IE8 fixes, when string isn't string