hide errors if symlink function throws