fix a dir issue