[bug fix] PTSDK-1166

fix some missing code