fixed produce_output() of base Formatter class