fix Directory export