fix bug with add Exist Directory