bib image cleanup