fix html_formatter for new directory structure