Changed ply to p

Small bug fix.