trying to fix span issue