fixed get() wraparound bug