Fixed the issue with weird behavior when symlink already exists.