restore tp service bugfix