change spans to p