fixing wrong pid path