checking symlinks