add protection if a directory already exits