add the judget the dir whether exsit