rename ppoint to pPoint
fix bug