fix pd command