fixed hdr_values call on line 1483, called self.hdr.values which does not exist