+ if dir exists bug fixed