Fixed grabbing math.