fixed pandoc errors