Fixed tick overflow error.