fixed HW Error bug