out of range fix