fixed pandoc problem