fix error with broken symlinks