fixed issue in IE8 with not closing span