change pid handling and add more exclude series