making the pid url pretty