Fix diamond pid dir