clear active PS when only IDR meets
Merge pull request #826 from huili2/clear_active_ps

clear active PS when only IDR meets