diff --git a/src/tex/allRefs.tex b/src/tex/allRefs.tex
index e119f4806842967a1e0634d013bd653b41588449..020cfa864d202cba31c03aeaf8b7f170c39cd294 100755
--- a/src/tex/allRefs.tex
+++ b/src/tex/allRefs.tex
@@ -12,5 +12,6 @@ mincitenames=2,
   This document is supposed to use \verb \nocite{*} \verb to cite all bibtex entries.
   However, currently some bibtex entries simply do not work. Thus only selected bibtex entries are printed.
 \nocite{*}
+\cite{undefinedReference}
 \printbibliography%[keyword=mathml]
 \end{document}
diff --git a/support/compile.sh b/support/compile.sh
index 82334275a495c6d463922f47b5116683f235e2ad..7e713628b930fa2cfe2b36963ffd361ab8334f61 100755
--- a/support/compile.sh
+++ b/support/compile.sh
@@ -5,3 +5,4 @@ cd src/tex
 latexmk
 cp allRefs.pdf ../../main.pdf
 cd ../..
+python3 support/issue.sh
diff --git a/support/issue.py b/support/issue.py
index f22689b39f0e21f50a4ebe9f236188275ad3ed68..cb97ed941daef52c1ef15b38c81611ab3b2ba052 100644
--- a/support/issue.py
+++ b/support/issue.py
@@ -28,7 +28,7 @@ else:
 
 if __name__ == '__main__':
     try:
-        logfilename = '../src/tex/allRefs.log'
+        logfilename = 'src/tex/allRefs.log'
         if len(sys.argv) == 3:
             extra_file_ext = sys.argv[2].split(" ")
         data = open(logfilename, 'rb').read()
@@ -46,14 +46,14 @@ if __name__ == '__main__':
         for warn in warnings:
             matchObj = re.match( r'(.*?).tex:(\d+): Package natbib Warning: Citation `(.*?)\' on page (\d+) undefined on input line (\d+).', warn, re.M|re.I)
             if matchObj:
-                label = "\n- [ ] [" + matchObj.group(3) + "](https://github.com/usnistgov/DRMF/blob/drmf/" + matchObj.group(1) + ".tex#L" + matchObj.group(2) + ")"
+                label = "\n- [ ] [" + matchObj.group(3) + "](https://github.com/ag-gipp/bib/blob/src/tex/" + matchObj.group(1) + ".tex#L" + matchObj.group(2) + ")"
                 if (lastfile != matchObj.group(1) ):
                     issue_content += "\n## " + matchObj.group(1) + " \n"
                     lastfile = matchObj.group(1);
                 issue_content += label
                 unrefs[matchObj.group(3)] = label
         # od = collections.OrderedDict(sorted(unrefs.items()))
-        if token:
+        if (token and issue_content):
             g = Github(token)
             repo = g.get_repo("ag-gipp/bib")
             repo.create_issue("Issue title", issue_content)