fix the recursive symlink problem