check duplicated symlinks