replace spaces and hyphens in bibtex keys