remove redundant p