debugging error added for catching pid problem, #53.