added hidden pid value to html