init the dir