fixes mostlyrelated to markdown