complete the dir