remove p statement