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

opps. There are bug as blocker.