reset the dir