fixed issue with overwrite, fixed issue with IE8 and not closed span