Fix bibtex generator on back button