changed monitor.setup check on extra_costs from OrderedDict to dict