Fix bug for IROTH check

ref 29bc64253af740b790a6d95753a08e0330e0400a