Fixed exception in mod hi.