stupid hdr bug fix.