a little bit code refactoring
removed old instantiation of htmlAppender