Cleanup bib format