Fixed a Bug for getHit(int) function