format the bib