bug fix : error when p.value is not a string

opps. There is a bug as blocker.