Ensure P element exists