fix pid handling