fixed span issue