Fixing HR bug