cleaning: remove p elements