fixed that throw exception under IE8