switch span to p