better check for symlink