added reset of XTD pid on WP reaching