fix pandoc support