check the currenttaskid value when do pvtolprogram init