Add grab out of range check