deal with symlink issues