fixed pids dir