small changes to get bib working