Remove excess </span> tag