fixed small bug with export in formats like bibtex