removing pid