fix over write symlink when it directory