fix a bug of HeRe