fix Directory Id