fix drawPath p[1] from p[l]