fixed HRR bug