change tdpl to pid