fixes bug in bibtex concatenation with #