symlink check bug fixed