handle broken symlinks