fixed pandoc stuff