Fix the mess with bibliography.