fixed the span tags on index