restore program resourch about TPAgent