Fixed an eq overflow bug